﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/main.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="aspx_video_default"  EnableViewState="false"%>

<%@ Register Src="~/aspx/sidePart.ascx" TagPrefix="uc1" TagName="sidePart" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Title" runat="Server">
    福建师范大学-名师讲堂-视频中心
</asp:Content>
<asp:Content ID="content3" ContentPlaceHolderID="Head" runat="server">
    <script type="text/javascript">
        jQuery(function () {
            jQuery('#condition').hide();
            jQuery('#gaoji').click(function () {
                jQuery('#condition').slideToggle();
                return false;
            });
            jQuery('.btn').button();

            jQuery('div.holder').jPages({
                containerID: "container",
                perPage: 10,
                previous: "上一页",
                next: "下一页",
                fallback: 1,
                delay: 1
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="Server">
    <div class="sidebar col11">
        <div class="heading">
            <img src="../../images/title/spzx.png" alt="视频中心" />
        </div>
        <div class="content">
            <form id="Form1" runat="server">
                <table width="80%">
                    <tr>
                        <td>
                            <asp:TextBox runat="server" ID="txt讲座题目" Width="100%" Height="100%" />
                        </td>
                        <td width="10px">
                            <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btn查询_Click" CssClass="btn" />
                        </td>
                        <td width="10px">
                            <input type="button" id="gaoji" class="btn" value="高级查询" />
                        </td>
                        <td width="10px">
                            <asp:DropDownList runat="server" Height="32" ID="ddl搜索模式">
                                <asp:ListItem Text="搜全部" />
                                <asp:ListItem Text="搜名师讲堂" />
                                <asp:ListItem Text="搜其他视频" />
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
                <div id="condition">
                    <table>
                        <tr>
                            <td width="95px">
                                <asp:CheckBoxList runat="server" ID="cbl条件">
                                    <asp:ListItem Text="主讲人" />
                                    <asp:ListItem Text="承办学院" />
                                </asp:CheckBoxList>
                            </td>
                            <td>
                                <div>
                                    <asp:TextBox runat="server" ID="txt主讲人" />
                                </div>
                                <div>
                                    <asp:DropDownList runat="server" ID="ddl学院" DataSourceID="ods学院" DataTextField="学院名称" DataValueField="学院名称">
                                        <asp:ListItem Text="数学与计算机科学学院" Selected="True" />
                                        <asp:ListItem Text="经济学院" />
                                    </asp:DropDownList>
                                    <asp:ObjectDataSource runat="server" ID="ods学院" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="ds_名师讲堂TableAdapters.tb_学院TableAdapter"></asp:ObjectDataSource>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </form>
            <ul id="container" class="list">
                <asp:Repeater runat="server" ID="rpt_video">
                    <ItemTemplate>
                        <li><a href="one.aspx?id=<%# Eval("视频ID") %>#ss">
                            <%# Eval("标题") %></a>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <div class="holder">
            </div>
        </div>
    </div>
    <div class="sidebar col05">
        <uc1:sidePart runat="server" ID="sidePart" />
    </div>
</asp:Content>